package com.dubbo.test.consumer;

import com.dubbo.test.DemoService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

/**
 * @Auther: liuyj
 * @Date: 2021/09/07/10:33
 * @Description:
 */
@Service
public class DemoServiceImpl implements DemoService {

    @DubboReference(timeout = 600000)
    DemoService demoService;

    @Override
    public String sayHello(String name) {
        return demoService.sayHello(name);
    }
}
